package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2018-12-14
 */
@TableName("t_choujiang_log")
public class ChoujiangLog extends Model<ChoujiangLog> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long cjid;
	private Long gid;
	private Long oid;
	@TableField("is_zhong")
	private Integer isZhong;
	private Integer isguoqi;
	private Integer jtype;
	private Integer level;

	private Integer islingqu;

	private String name;
	private String uname;
	private String cjdate;
	private String pic;
	private String phone;

	@JsonIgnore
	private Long mid;
	@JsonIgnore
	private Long mpid;
	@JsonIgnore
	private Long sid;
	@JsonIgnore
	private Long uid;
	@JsonIgnore
	private Date createtime;
	private String avatarpic;

	@TableField(exist = false)
	private int num;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCjid() {
		return cjid;
	}

	public void setCjid(Long cjid) {
		this.cjid = cjid;
	}

	public Long getOid() {
		return oid;
	}

	public void setOid(Long oid) {
		this.oid = oid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getAvatarpic() {
		return avatarpic;
	}

	public void setAvatarpic(String avatarpic) {
		this.avatarpic = avatarpic;
	}

	public String getCjdate() {
		return cjdate;
	}

	public void setCjdate(String cjdate) {
		this.cjdate = cjdate;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public Integer getIsZhong() {
		return isZhong;
	}

	public void setIsZhong(Integer isZhong) {
		this.isZhong = isZhong;
	}

	public Integer getIsguoqi() {
		return isguoqi;
	}

	public void setIsguoqi(Integer isguoqi) {
		this.isguoqi = isguoqi;
	}

	public Integer getJtype() {
		return jtype;
	}

	public void setJtype(Integer jtype) {
		this.jtype = jtype;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getIslingqu() {
		return islingqu;
	}

	public void setIslingqu(Integer islingqu) {
		this.islingqu = islingqu;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ChoujiangLog{" +
			"id=" + id +
			", cjid=" + cjid +
			", isZhong=" + isZhong +
			", name=" + name +
			", uname=" + uname +
			", pic=" + pic +
			", mid=" + mid +
			", mpid=" + mpid +
			", uid=" + uid +
			", createtime=" + createtime +
			", avatarpic=" + avatarpic +
			"}";
	}
}
